public class Test1 {

    public static void main(String[] args) {
       Dog dogs=new Dog();
       Dog dogh=new Dog();
       dogs.name="大黄";
       dogh.name="旺财";
       dogs.age=16;
       dogs.barks();
       dogh.sleep();
    }
}